package com.gator.desig_mode.responsibilitychain;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc 请求类
 */
public class Request {

  private int id;//请求编号

  private String name;

  private float money; //具体逻辑 金额0-500 FirstHandler       500-1000 SecondHandler
                       //1000以上 LastHandler  -> ProcessorRequest

  public Request(int id, String name, float money) {
    this.id = id;
    this.name = name;
    this.money = money;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public float getMoney() {
    return money;
  }

  public void setMoney(float money) {
    this.money = money;
  }
}
